<?php 
CHtml::metaTag('no-cache', NULL, 'pragma');
CHtml::metaTag('Wed, 26 Feb 1997 08:21:57 GMT', NULL, 'expires');
CHtml::metaTag('no-store, must-revalidate', NULL, 'Cache-Control');

Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/smoothness/jquery-ui-1.9.1.custom.min.css');
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery-ui-1.9.1.custom.min.js', CClientScript::POS_END);
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/communicate.js', CClientScript::POS_END);
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/school.js', CClientScript::POS_END);
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/keycode.js', CClientScript::POS_END);
?>
hello, welcome to <?php echo $school->cnname; ?>
<?php if(!empty($subjects)): ?>
<ul>
    <?php foreach ($subjects as $subject): ?>
        <li><input sub="<?php echo $subject->code; ?>" type="button" class="winOpen" value="
            <?php echo $subject->cnname; ?>">
        </li>
    <?php endforeach; ?>
</ul>
<?php endif; ?>
<iframe src="http://sub.link.com/site/index" style="display:none;" 
        id="commProxy"></iframe>
